﻿
@model KRM.Core.tblRDMQuestionnaire
@{
    ViewBag.Title = "PRE-RDM NON FAC CHECKLIST";
    Layout = "~/Views/Shared/_PopupLayout.cshtml";
    var disputeid = ViewBag.disputeid;
}

<div style="padding: 20px; font-size: 12px">
    <div class="row-fluid">
        <p>To add an RDM for a : @ViewBag.ProductOption please fill in the following check list and Pre-RDM Questionnaire:</p>
    </div>
    <div class="row-fluid">
        <div class="span1">1</div>
        <div class="span3">Reason</div>
        <div class="span5">
            @Html.DropDownList("ReasonID", null, "--Please select--", new { required = "required" })
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1">2</div>
        <div class="span3">Reason detail</div>
        <div class="span5">
            @Html.DropDownList("ReasonDetailID", null, "--Please select--", new { required = "required" })
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1">3</div>
        <div class="span11">
            <input type="checkbox" name="IsCheckedAllParts" value="True" class="pull-left" style="margin-right: 7px" required = "required" @(Model.IsCheckedAllParts == true ? "checked=checked" : "")/>
            I have asked the customer  to check through all parts
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1"></div>
        <div class="span11">
            <div class="span2">Comment</div>
            <div class="span10">
                <textarea style="width: 96%" name="CheckedAllPartsComments">@Model.CheckedAllPartsComments</textarea>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1">4</div>
        <div class="span11">
            <input type="checkbox" name="IsAskedConditionOfTheBox" value="True" class="pull-left" style="margin-right: 7px" required = "required" @(Model.IsAskedConditionOfTheBox == true ? "checked=checked" : "")/>
            Asked the customers regarding the condition of the Box
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1"></div>
        <div class="span11">
            <div class="span2">Comment</div>
            <div class="span10">
                <textarea style="width: 96%" name="AskedConditionOfTheBoxComments">@Model.AskedConditionOfTheBoxComments</textarea>
            </div>
        </div>
    </div>

    <div class="row-fluid">
        <div class="span1">5</div>
        <div class="span11">
            <input type="checkbox" name="IsCheckedPOD" value="True" class="pull-left" style="margin-right: 7px" required = "required" @(Model.IsCheckedPOD == true ? "checked=checked" : "")/>
            I haved checked POD
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1"></div>
        <div class="span11">
            <div class="span2"></div>
            <div class="span10">
                @Html.DropDownList("SignatureID", null, "--Please select--", new { required = "required" })
            </div>
        </div>
    </div>

    <div class="row-fluid">
        <div class="span1">6</div>
        <div class="span11">
            <input type="checkbox" name="IsCheckedPhotoOrPicture" value="True" class="pull-left" style="margin-right: 7px" required = "required" @(Model.IsCheckedPhotoOrPicture == true ? "checked=checked" : "")/>
            I have checked a photos / pictures
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1"></div>
        <div class="span11">
            <div class="span2">Comment</div>
            <div class="span10">
                <textarea style="width: 96%" name="PhotosOrPictureComments">@Model.PhotosOrPictureComments</textarea>
            </div>
        </div>
    </div>

    <div class="row-fluid">
        <div class="span1">7</div>
        <div class="span11">
            Other comment:
        </div>
    </div>
    <div class="row-fluid">
        <div class="span1"></div>
        <div class="span11">
            <textarea style="width: 96%" name="OtherComments">@Model.OtherComments</textarea>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12 text-center" style="margin-top: 10px">
            @if (disputeid > 0)
            {
                <a class="btn btn-primary" href="/rdm/viewrdm/@disputeid" style="margin-left: 20px">Back</a>
            }
            else
            {
                <a class="btn btn-primary" href="/rdm/AddRdm?questionnaireid=@Model.ID" style="margin-left: 20px">Back</a>
            }
        </div>
    </div>
</div>
